package com.tms.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 存储评价信息(Review)表实体类
 *
 * @author makejava
 * @since 2024-12-27 23:17:26
 */
@TableName("review")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Review implements Serializable {
    //主键
    private Integer reviewId;
    //外键
    private Integer userId;
    //外键
    private Integer bookId;
    //评论内容
    private String reviewContent;
    //评分，4-5为好评，3为中评，1-2为差评
    private Integer rating;
    //评论时间
    private String reviewDate;

}

